package com.olt.dao.oltTest;

import com.olt.domain.oltTest.OltTest;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.UUID;

public interface IOltTest extends JpaRepository<OltTest,String> {
    Page<OltTest> findAllByClassIdOrderByBeginTimeDesc(String classId, Pageable pageable);

    OltTest getByTestId(String id);


}
